<style>
    .table-adminlog tr td {
        word-break: break-all;
    }
	.answer-image{
		max-width: 200px;
		max-height: 200px;
	}
</style>
<table class="table table-striped table-adminlog">
    <thead>
    <tr>
        <th width="200">{:__('Title')}</th>
        <th>{:__('Content')}</th>
    </tr>
    </thead>
    <tbody>
    {volist name="answers" id="vo" }
    <tr>
        <td>{$vo.question_name}</td>
        <td>
			{if $vo.question_type==7}
				{volist name="vo.question_value" id="image"}
				<a href="javascript:;"><img class="answer-image" src="{$Think.config.admin.v1_domain}{$image}"/></a>
				{/volist}
			{else/}
				{$vo.question_value}
			{/if}
		</td>
    </tr>
    {/volist}

    </tbody>
    {if isset($row.result.datas)}
	<thead>
		<tr>
			<th colspan="2">调研报告</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>整体情况</td>
			<td>
				<div id="echart" style="width: 100%; height: 300px;"></div>
			</td>
		</tr>
		{volist name="row.result.datas" id="vo"}
		<tr>
			<td>{$vo.title}</td>
			<td>
				<div>你的{$vo.title}总得分为：<span style="font-weight: bolder; color: #ff1b2e">{$vo.score}</span>分</div>
				<div class="qrcode">
					<div class="bars" style="width: 100%; height: 100px;"></div>
				</div>
				<div style="color: #FF6B00; width: 100%">
					{$vo.content}
				</div>
			</td>
		</tr>
		{/volist}
		<tr>
			<td>综合建议</td>
			<td>{$row.result.suggestion}</td>
		</tr>
	</tbody>
    {/if}
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-2"></label>
    <div class="col-xs-12 col-sm-8">
        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>
<script>
	var review = {:json_encode($row.result)}
</script>